<template>
	<div class="banner">
		<van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
		  <van-swipe-item v-for="item in shujv_b" :key="item.cid">
			  <img :src="item.icon_url" alt="加载错误">
		  </van-swipe-item>
		</van-swipe>
	</div>
</template>

<script>
	export default {
		name:'banner',
		props:[
			'shujv_b'
		]
	}
</script>

<style scoped>
	img{
		width: 100%;
	}
	.banner{
		/* position: relative; */
	}
	/* .my-swipe .van-swipe-item {
	    color: #fff;
	    font-size: 20px;
	    line-height: 150px;
	    text-align: center;
	    background-color: #39a9ed;
	  } */
</style>